package com.yuntian.baidu.conf;


import lombok.Data;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Data
@Component
public class CusConfig {
    private Ab ab;

    @PostConstruct
    public void init() {
        this.ab = new Ab(); // 手动初始化内部类
    }

    @Data
    public static class Ab{
        private String url = "http://221.182.146.101:8082";
        private String token = "private-x|eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxOGM2ZTkyNC1hZTBmLTQ2OGQtYmM4ZC1lYmY3YzBhODNkMzUiLCJzdWIiOiI3NzFjZjcwOTdlNjg0MDlkYmYyMzY3MWQ1ZGE3YWQ5NiIsImFpYmFzZV9wcm9qZWN0X2lkIjoiOGNhODE2YjI4MDkwNDA5Njk3NDc3OGJjNzgwMjIyOTMifQ.vHdsq065RXGn7rylO_uMWd1KlzJ2vGRdoz72poA54ts";

        private String OrgParentId = "8ca816b280904096974778bc78022293";
        private String orgQueryUrl = "/api/ai_apaas/console/manage/department/tree";
        private String orgAddUrl = "/api/ai_apaas/console/manage/department/add";
        private String orgUpdateUrl = "/api/ai_apaas/console/manage/department/update";
        private String orgDeleteUrl = "/api/ai_apaas/console/manage/department/delete";

        private String userQueryUrl="/api/ai_apaas/console/manage/user/list";
        private String userAddUrl="/api/ai_apaas/console/manage/user/add";
        private String userUpdateUrl="/api/ai_apaas/console/manage/user/update";
        private String userDeleteUrl="/api/ai_apaas/console/manage/user/delete";
    }
}
